package cn.zcscloud.mall.service;

import cn.zcscloud.mall.dto.UmsMenuNode;
import cn.zcscloud.mall.mbg.model.UmsMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface UmsMenuService extends IService<UmsMenu> {

    /**
     * 树形结构返回所有菜单列表
     *
     * @return
     */
    List<UmsMenuNode> treeList() throws InvocationTargetException, IllegalAccessException;

    void deleteById(Integer id);
}
